-- GENERATED SPELL FOR [Chief Officer Leonards] --


function spell0_30350(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30350', 2313, 1)
end

function Sorts_30350(pUnit, Event)
local choix_sorts_30350 = math.random(0, 0)
if choix_sorts_30350 == 0 then
pUnit:RegisterEvent('spell0_30350', 1, 1)
end
end

function mob30350_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30350', math.random(1500, 3000), 1)
end

function mob30350_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30350_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30350_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30350, 1, 'mob30350_Action')
RegisterUnitEvent(30350, 2, 'mob30350_Leave')
RegisterUnitEvent(30350, 3, 'mob30350_Kill')
RegisterUnitEvent(30350, 4, 'mob30350_Die')
